<template>
  <el-image :src="url" class="img-container">
    <template #error>
      <img src="./img.jpg" alt="">
    </template>

  </el-image>
</template>

<script>
export default {
  props: {
    url: {
      type: String,
      default: ''
    }
  }
}
</script>

<style scoped lang="scss">
.img-container {
  border-radius: 50%;
  img{
    width: 100%;
  }
}
</style>
